<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"  %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-1.7.1.min.js" charset="UTF-8"></script> 
<script type="text/javascript">
	$(function(){
		$("#tt").click(function(){
			 $("form").submit();
		});
	});
</script>
</head>
<body>
你好<BR/>

<c:forEach  var="item" items="${pager.list}"  varStatus="status">
	序号:${status.count } ID:${item.id }    姓名：${item.name } 年龄:${item.age } 地址:${item.address }<br/>
</c:forEach>

<br/>
	<div>第 ${pager.currentPage} 页</div>
	<div>共 ${pager.totalPages } 页</div>
	<a href="../consult/pageList.action?pageMethod=first&&currentPage=${pager.currentPage }">首页</a>
	<a href="../consult/pageList.action?pageMethod=previous&&currentPage=${pager.currentPage }">上页</a>
	<a href="../consult/pageList.action?pageMethod=next&&currentPage=${pager.currentPage }">下页</a>
	<a href="../consult/pageList.action?pageMethod=last&&currentPage=${pager.currentPage }">尾页</a>
	<form action="/Client/consult/pageList.action?pageMethod=jumpPage" method="post">
		<input type="hidden" id="currentPage" name="currentPage" value="${pager.currentPage }"/>
	跳转到第<input type="text" id="pageIndex" name="pageIndex"  size="2"/>页<a id="tt" href="#" name="tt">GO</a>
	</form>
</body>
</html>